package itheima.services;

import itheima.mapper.UserMapper;
import itheima.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServicesImp implements UserServices {
    @Autowired
    private UserMapper userMapper;


    @Override
    public List<User> queryUserList() {
       List<User>list= userMapper.queryUserList();
        return  list;
    }
}
